package heap

import "hi-jvm/classfile"

/*
成员共有信息
 */
type MemberRef struct {
	SymRef
	Name       string
	Descriptor string
}

func (self *MemberRef) copyMemberRefInfo(refInfo *classfile.ConstantMemberrefInfo) {
	self.ClassName = refInfo.ClassName()
	self.Name, self.Descriptor = refInfo.NameAndDescriptor()
}

